<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>XXXX商业银行风险评估系统</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="risk/css/topstyles.css">
	<script language="JavaScript">
	function goHist(a)//定义一个函数，用来记载是向前还是向后
	{
	history.go(a);
	}
	
	//获得当前时间
        var timerID = null;
        var timerRunning = false;
        function stopclock() {
            if (timerRunning)
                clearTimeout(timerID);
            timerRunning = false;
        }
        function startclock() {
            stopclock();
            showtime();
        }
        function showtime() {
            var now = new Date();
            var hours = now.getHours();
            var minutes = now.getMinutes();
            var seconds = now.getSeconds()
            var timeValue = now.getFullYear() + "年" + (now.getMonth() + 1) + "月" + now.getDate() + "日 "
            timeValue += hours
            timeValue += ((minutes < 10) ? ":0" : ":") + minutes
            timeValue += ((seconds < 10) ? ":0" : ":") + seconds

            document.getElementById("thetime").innerHTML = timeValue;
            timerID = setTimeout("showtime()", 1000);
            timerRunning = true;
        }
	</script>
	</head>
	
	<body onload="startclock();">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td background="images/top_bg.jpg" width="289" height="57">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td>
								<img src="images/top_lf.jpg" />
							</td>
						</tr>
					</table>
				</td>
				<td background="images/top_bg.jpg" width="90%">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td height="29">
								信贷风险评估系统
							</td>
						</tr>
						<tr>
							<td width="50%" height="28">
								<div class="lable">
									<p>
									现在是：<span id="thetime"></span>
									</p>
								</div>
							</td>
							<td>
								<div class="menu">
									<ul>
										<li>
											<a href="test.action" target="I2"><span>个人用户管理</span>
											</a>
										</li>
										<li>
											<a href="welcomePage.action" target="I2"><span>首页</span>
											</a>
										</li>
										<li>
											<a style="cursor: pointer;" onclick="goHist(-1)"><span>后退</span>
											</a>
										</li>
										<li>
											<a style="cursor: pointer;" onclick="goHist(1)" ><span>前进</span>
											</a>
										</li>
										<li>
											<a href="test.action" target="I2"><span>刷新</span>
											</a>
										</li>
										<li>
											<a href="logout.action" target="_parent"><span>退出</span>
											</a>
										</li>
									</ul>
								</div>
							</td>
							<td width="18"></td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
		<table width="100%" height="25" border="0" cellspacing="0"
			cellpadding="0">
			<tr>
				<td background="images/menu_bg.jpg" width="165">
					<div class="menu_left">
						<p>
							你好：<%= (String)session.getAttribute("name")%>
						</p>
					</div>
				</td>
				<td background="images/menu_bg.jpg">
					<div class="menu_list">
						<ul>
							<li>
								<a href="test.action" target="I2"><span>信息查询</span>
								</a>
							</li>
							<li>
								<a href="test.action" target="I2"><span>业务查询</span>
								</a>
							</li>
							<li>
								<a href="test.action" target="I2"><span>档案管理</span>
								</a>
							</li>
							<li>
								<a href="test.action" target="I2"><span>资料管理</span>
								</a>
							</li>
							<li>
								<a href="test.action" target="I2"><span>静态数据</span>
								</a>
							</li>
							<li>
								<a href="test.action" target="I2"><span>贷款业务</span>
								</a>
							</li>
						</ul>
					</div>
				</td>
			</tr>
		</table>
	</body>
</html>
